package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * mes文档表
 * @TableName mes_document
 */
@TableName(value ="mes_document")
@Data
public class MesDocument implements Serializable {
    /**
     * mes文档表ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 对应id
     */
    private Integer mesId;

    /**
     * 文档存储记录id
     */
    private Integer documentId;

    /**
     * 对应单据类型 1-工序配置 2-工序计划明细
     */
    private Integer mesType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}